package org.mike.controller;

import org.mike.service.CityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CityControler {

    @Autowired
    CityService cityService;
    @RequestMapping(value = "/city")
    public String hi(@RequestParam String name){
        System.out.println(001);
        return cityService.cityService(name);
    }


}